package xin.service;

import xin.entity.TOrgEmployee;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author young
 * @since 2023年10月09日
 */
public interface TOrgEmployeeService extends IService<TOrgEmployee> {

    List<TOrgEmployee> findAll();


    Integer add(TOrgEmployee employee);


    Integer update(TOrgEmployee employee);



    Integer delete(Long id);


    List<TOrgEmployee> findByNameLike(String keyWorld);


    Map<String,TOrgEmployee> login(String username,String password);

}
